package collectionFramework.assignments;

import java.util.Enumeration;
import java.util.Vector;

public class MyVector {

	Vector<Employee> vv = new Vector<Employee>();

	public void display() {
		Enumeration<Employee> en = vv.elements();
		while (en.hasMoreElements()) {
			System.out.println(en.nextElement());
		}
	}

	public void addInput(Employee obj) {
		vv.addElement(obj);
	}
}
